package com.cgnpc.scp.achievement.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cgnpc.scp.common.utils.DateUtil;

import java.util.Date;
import java.util.List;

/**
 * 论文管理
 */
@TableName("tbl_achievement_paper_apply")
public class PaperApply {
    private String id;

    private String procInstId;

    private String folio;

    private String processStatus;

    private String processName;

    private String editor;

    private Integer operateType;

    private String paperId;

    private String paperName;

    private String paperEnName;

    private String keyword;

    private String summary;

    private String professional;

    private String firstAuthor;

    private String otherAuthor;

    private String isPublish;

    private String periodicalName;

    private String periodicalCore;

    private Date publishDate;

    private String indexType;

    private String fileId;

//    private String fileName;

    private String deptId;//

    private String deptName;

    private Date createTime;//

    private String createUser;//

    private String createUserName;//

    private Date lastUpdateTime;

    private String lastUpdateUser;

    private String lastUpdateUserName;
    // begin 自定义字段
    @TableField(exist = false)
    private List<String> ids;

    public List<String> getIds() {
        return ids;
    }

    public void setIds(List<String> ids) {
        this.ids = ids;
    }

    // end 自定义字段


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getProcInstId() {
        return procInstId;
    }

    public void setProcInstId(String procInstId) {
        this.procInstId = procInstId == null ? null : procInstId.trim();
    }

    public String getFolio() {
        return folio;
    }

    public void setFolio(String folio) {
        this.folio = folio == null ? null : folio.trim();
    }

    public String getProcessStatus() {
        return processStatus;
    }

    public void setProcessStatus(String processStatus) {
        this.processStatus = processStatus;
    }

    public String getProcessName() {
        return processName;
    }

    public void setProcessName(String processName) {
        this.processName = processName == null ? null : processName.trim();
    }

    public String getEditor() {
        return editor;
    }

    public void setEditor(String editor) {
        this.editor = editor == null ? null : editor.trim();
    }

    public Integer getOperateType() {
        return operateType;
    }

    public void setOperateType(Integer operateType) {
        this.operateType = operateType;
    }

    public String getPaperId() {
        return paperId;
    }

    public void setPaperId(String paperId) {
        this.paperId = paperId == null ? null : paperId.trim();
    }

    public String getPaperName() {
        return paperName;
    }

    public void setPaperName(String paperName) {
        this.paperName = paperName == null ? null : paperName.trim();
    }

    public String getPaperEnName() {
        return paperEnName;
    }

    public void setPaperEnName(String paperEnName) {
        this.paperEnName = paperEnName == null ? null : paperEnName.trim();
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword == null ? null : keyword.trim();
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary == null ? null : summary.trim();
    }

    public String getProfessional() {
        return professional;
    }

    public void setProfessional(String professional) {
        this.professional = professional == null ? null : professional.trim();
    }

    public String getFirstAuthor() {
        return firstAuthor;
    }

    public void setFirstAuthor(String firstAuthor) {
        this.firstAuthor = firstAuthor == null ? null : firstAuthor.trim();
    }

    public String getOtherAuthor() {
        return otherAuthor;
    }

    public void setOtherAuthor(String otherAuthor) {
        this.otherAuthor = otherAuthor == null ? null : otherAuthor.trim();
    }

    public String getIsPublish() {
        return isPublish;
    }

    public void setIsPublish(String isPublish) {
        this.isPublish = isPublish == null ? null : isPublish.trim();
    }

    public String getPeriodicalName() {
        return periodicalName;
    }

    public void setPeriodicalName(String periodicalName) {
        this.periodicalName = periodicalName == null ? null : periodicalName.trim();
    }

    public String getPeriodicalCore() {
        return periodicalCore;
    }

    public void setPeriodicalCore(String periodicalCore) {
        this.periodicalCore = periodicalCore == null ? null : periodicalCore.trim();
    }

    public Date getPublishDate() {
        return DateUtil.cloneNewDate(publishDate);
    }

    public void setPublishDate(Date publishDate) {
        this.publishDate = DateUtil.cloneNewDate(publishDate);
    }

    public String getIndexType() {
        return indexType;
    }

    public void setIndexType(String indexType) {
        this.indexType = indexType == null ? null : indexType.trim();
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId == null ? null : fileId.trim();
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId == null ? null : deptId.trim();
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName == null ? null : deptName.trim();
    }

    public Date getCreateTime() {
        return DateUtil.cloneNewDate(createTime);
    }

    public void setCreateTime(Date createTime) {
        this.createTime = DateUtil.cloneNewDate(createTime);
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName == null ? null : createUserName.trim();
    }

    public Date getLastUpdateTime() {
        return DateUtil.cloneNewDate(lastUpdateTime);
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = DateUtil.cloneNewDate(lastUpdateTime);
    }

    public String getLastUpdateUser() {
        return lastUpdateUser;
    }

    public void setLastUpdateUser(String lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser == null ? null : lastUpdateUser.trim();
    }

    public String getLastUpdateUserName() {
        return lastUpdateUserName;
    }

    public void setLastUpdateUserName(String lastUpdateUserName) {
        this.lastUpdateUserName = lastUpdateUserName == null ? null : lastUpdateUserName.trim();
    }

    @TableField(exist = false)
    private String professionalLabel;
    @TableField(exist = false)
    private String indexTypeLabel;
    @TableField(exist = false)
    private String publishLabel;
    @TableField(exist = false)
    private String paperFileName;
//wanzhiwie----paperFilePath
    @TableField(exist = false)
    private String paperFilePath;
    public String getPaperFilePath() {
        return paperFilePath;
    }
    public void setPaperFilePath(String paperFilePath) {
        this.paperFilePath = paperFilePath;
    }

    public String getProfessionalLabel() {
        return professionalLabel;
    }

    public void setProfessionalLabel(String professionalLabel) {
        this.professionalLabel = professionalLabel;
    }

    public String getIndexTypeLabel() {
        return indexTypeLabel;
    }

    public void setIndexTypeLabel(String indexTypeLabel) {
        this.indexTypeLabel = indexTypeLabel;
    }

    public String getPublishLabel() {
        return publishLabel;
    }

    public void setPublishLabel(String publishLabel) {
        this.publishLabel = publishLabel;
    }

    public String getPaperFileName() {
        return paperFileName;
    }

    public void setPaperFileName(String paperFileName) {
        this.paperFileName = paperFileName;
    }

    @Override
    public String toString() {
        return "PaperApply{" +
                "id='" + id + '\'' +
                ", procInstId='" + procInstId + '\'' +
                ", folio='" + folio + '\'' +
                ", processStatus='" + processStatus + '\'' +
                ", processName='" + processName + '\'' +
                ", editor='" + editor + '\'' +
                ", operateType=" + operateType +
                ", paperId='" + paperId + '\'' +
                ", paperName='" + paperName + '\'' +
                ", paperEnName='" + paperEnName + '\'' +
                ", keyword='" + keyword + '\'' +
                ", summary='" + summary + '\'' +
                ", professional='" + professional + '\'' +
                ", firstAuthor='" + firstAuthor + '\'' +
                ", otherAuthor='" + otherAuthor + '\'' +
                ", isPublish='" + isPublish + '\'' +
                ", periodicalName='" + periodicalName + '\'' +
                ", periodicalCore='" + periodicalCore + '\'' +
                ", publishDate=" + publishDate +
                ", indexType='" + indexType + '\'' +
                ", fileId='" + fileId + '\'' +
                ", deptId='" + deptId + '\'' +
                ", deptName='" + deptName + '\'' +
                ", createTime=" + createTime +
                ", createUser='" + createUser + '\'' +
                ", createUserName='" + createUserName + '\'' +
                ", lastUpdateTime=" + lastUpdateTime +
                ", lastUpdateUser='" + lastUpdateUser + '\'' +
                ", lastUpdateUserName='" + lastUpdateUserName + '\'' +
                ", professionalLabel='" + professionalLabel + '\'' +
                ", indexTypeLabel='" + indexTypeLabel + '\'' +
                ", publishLabel='" + publishLabel + '\'' +
                '}';
    }
}